package demo4;

public class Test {
    public static void main(String[] args) {
        Computer computer = new Computer();
        computer.openComputer();

        computer.usdDevice(new Mouse());

        computer.usdDevice(new KeyBoard());

        computer.closeComputer();
    }
}
